﻿using System;
using System.Collections.Generic;
using MongoDB.Bson.Serialization.Attributes;

namespace BCDto.Common.Area
{
    /// <summary>
    /// 区域对象模型
    /// </summary>
    [BsonIgnoreExtraElements]
    public class ZoneDto
    {
        /// <summary>
        /// 区域编号
        /// </summary>
        public string ZoneId { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        
        /// <summary>
        /// 是否为市区
        /// </summary>
        public bool? IsDowntown { get; set; }

        /// <summary>
        /// 区号
        /// </summary>
        public string AreaCode { get; set; }
    }
}
